using UnityEditor;
using UnityEngine;

namespace Database
{
    public class OrmOperationWindow : EditorWindow
    {

        public void OnGUI()
        {
            if (GUILayout.Button("编译Excel成实体类"))
            {
                CfgOrmMenu.CSVAndClassTwo();
            }
            if (GUILayout.Button("Excel导出数据+重新读入内存"))
            {
                CfgOrmMenu.ReadOrmTwo();
            }
            if (GUILayout.Button("数据读入内存"))
            {
                CfgOrmMenu.ReadORMInMemory();
            }
        }
    }
}